package com.beamfield.dao.device;

import com.beamfield.model.DeviceSituation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceSituationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DeviceSituation record);

    int insertSelective(DeviceSituation record);

    DeviceSituation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DeviceSituation record);

    int updateByPrimaryKey(DeviceSituation record);

    List<DeviceSituation> selectPage(@Param("inboundId") String inboundId, @Param("offset") String offset, @Param("limit") String limit);

    Long countPage(String inboundId);

    DeviceSituation selectByInboundIdLimit1(Long inboundId);
}
